package com.xiaozhengkeji.minecraft.plugin.fishplus.entity;

import com.google.gson.Gson;

import java.util.UUID;

public class PlayerDataEntity {
    public String PlayerUUID;
    public Integer MaxNumFishing;//钓鱼下杆总次数
    public Integer MaxNumFishing_Success;//钓鱼成功总次数
    public Integer MaxLucky;//玩家当前最大幸运度


    public String toJsonString() {
        return new Gson().toJson(this);
    }


    public static PlayerDataEntity buildPlayerDataEntity(String json) {
        return new Gson().fromJson(json, PlayerDataEntity.class);
    }
}
